package com.demo.mybatis.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.demo.mybatis.domain.MUserInformation;
import com.demo.mybatis.mapper.LoginRegisterMapper;
import com.demo.mybatis.service.MLoginRegisterService;

@Service
public class MLoginRegisterImpl implements MLoginRegisterService {

	@Autowired
	private LoginRegisterMapper loginRegisterMapper;

	@Override
	public MUserInformation login(MUserInformation userInformation) {
		return loginRegisterMapper.doLogin(userInformation);
	}

}
